﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class WebForm : Form
    {
        private WebFormOptions _webFormOptions;
        private List<URL> _urls;
        private List<WebField> _webFields;

        public WebForm()
        { }

        public WebFormOptions WebFormOptions
        {
            get { return _webFormOptions; }
            set { _webFormOptions = value; }
        }
        [XmlArray("URLs")]
        public List<URL> URLs
        {
            get { return _urls; }
            set { _urls = value; }
        }
        [XmlArray("WebFields")]
        public List<WebField> WebFields
        {
            get { return _webFields; }
            set { _webFields = value; }
        }

    }
}
